package com.hl.util.KL.SocketClients;


public class SocketException extends Exception {
	private static final long serialVersionUID = 9099L;
	public SocketException() {
		errCode = ErrorCode.WebSocketClosed;
	}
	
	public SocketException(String detailMessage) {
		super(detailMessage);
		errCode = ErrorCode.WebSocketClosed;
	}
	
	public SocketException(String detailMessage, ErrorCode errCode) {
		super(detailMessage);
		this.errCode = errCode;
	}
	private ErrorCode errCode;
	public ErrorCode errorCode() {
		return errCode;
	}
}
